package com.inventive.jmscache.server;

import javax.jms.*;

/**
 * @author Grant Little grant.little@inventivesoftware.com.au
 */
public class JmsCacheQueueSender extends JmsCacheMessageProducer implements QueueSender {


    public JmsCacheQueueSender(JmsCacheSession session, JmsCacheDestination destination) {
        super(session, destination);
    }

    public Queue getQueue() throws JMSException {
        return (Queue)destination;
    }

    public void send(Queue queue, Message message) throws JMSException {
        super.send(queue, message);
    }

    public void send(Queue queue, Message message, int deliveryMode, int priority, long timeToLive) throws JMSException {
        super.send(queue, message, deliveryMode, priority, timeToLive);
    }

}
